package tom.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Invoice implements Serializable {

	private static final long serialVersionUID = -2205697875306776206L;

	public Integer invNo;
	public Date invDate = new Date();
	public String systemKind;
	public String docuKind;
	public String docNo;
	public String docRef;
	public String contCode = "999999";
	public Double totalVat = 0.0;
	public Double totalItem = 0.0;
	public Double spcDeduct = 0.0;
	public Double totalAmt = 0.0;
	public String totalAmtText;
	public Double totalPaid = 0.0;
	public Double receipt = 0.0;
	public Date shipDate = new Date();
	public Date dueDate;
	public String projCode;
	public String poNr;
	public String note;
	public String status = "0";
	public Integer refundCode;
	public Integer refundSource;
	public String contactAddr;
	public String shipTo;
	public String creUser;
	public Date creTime;
	public List<InvItem> items = new ArrayList<InvItem>();
	public List<Payment> payments = new ArrayList<Payment>();
	public Integer upload = 0;
	public Integer printCounter = 0;
	public String docuKindName;
}
